package com.robot.manager;

import com.robot.manager.utils.JwtUtil;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;
import org.springframework.cloud.netflix.zuul.EnableZuulProxy;
import org.springframework.context.annotation.Bean;

/**
 * 后台网关
 *
 * @author lin
 */
@SpringBootApplication
@EnableEurekaClient
@EnableZuulProxy
public class NetWorkManagerApplication {
    public static void main(String[] args) {
        SpringApplication.run(NetWorkManagerApplication.class, args);
    }
    @Bean
    public JwtUtil jwtUtil() {
        return new JwtUtil();
    }
}
